minios: Fix xenbus_unwatch_path calls
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:21:58 +0000 (07:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:21:58 +0000 (07:21 +0000)
commit375f53964b1dc6ea8ea6d7057f77b3a43c4c7eca
tree6c20d4c3f67b410e73c99e11bc19ad0855617b38
parent995380cd80da7a5385e06d2ff0798b48cff64c15
minios: Fix xenbus_unwatch_path calls

In a lot of places in MiniOS frontends, xenbus_watch_path_token is
used instead of xenbus_watch_path to get more precise wake ups.  To
free those, xenbus_unwatch_path_token has to be used instead of
xenbus_unwatch_path, else the unwatch operation will fail.  This fixes
spurious watch events left by pv-grub.

Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
extras/mini-os/blkfront.c
extras/mini-os/console/xencons_ring.c
extras/mini-os/fbfront.c
extras/mini-os/fs-front.c
extras/mini-os/netfront.c
extras/mini-os/pcifront.c